/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exmtgproj;

import java.awt.Image;
import java.awt.image.BufferedImage;

/**
 *
 * @author meh
 */
public class CardImage extends BufferedImage{
    public CardImage(Image i){
        super(i.getWidth(null),i.getHeight(null),BufferedImage.TYPE_INT_RGB);
        getGraphics().drawImage(i, 0, 0, null);
    }
}
